import request from '@/utils/request'

// 查询血压设备数据列表
export function listPressure(query) {
  return request({
    url: '/qiushi/deviceData/qiushidevicebloodpressure/list',
    method: 'get',
    params: query
  })
}

// 查询血压设备数据详细
export function getPressure(id) {
  return request({
    url: '/qiushi/deviceData/qiushidevicebloodpressure/' + id,
    method: 'get'
  })
}

// 新增血压设备数据
export function addPressure(data) {
  return request({
    url: '/qiushi/deviceData/qiushidevicebloodpressure',
    method: 'post',
    data: data
  })
}

// 修改血压设备数据
export function updatePressure(data) {
  return request({
    url: '/qiushi/deviceData/qiushidevicebloodpressure',
    method: 'put',
    data: data
  })
}

// 删除血压设备数据
export function delPressure(id) {
  return request({
    url: '/qiushi/deviceData/qiushidevicebloodpressure/' + id,
    method: 'delete'
  })
}
